package com.yongchun.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author afeng
 * @version 1.0
 * @date 2023/11/15 下午10:38
 */
@Controller
@RequestMapping("/redirect/")
public class RedirectController {
    @RequestMapping("url")
    public String url( @RequestParam(required = false) String dit,
                       @RequestParam(required = false) String code,
                       @RequestParam(required = false) String pid,
                       @RequestParam(required = false) String aid,
                       @RequestParam(required = false) String t,
                       @RequestParam(required = false) String m,
                       @RequestParam(required = false) String r,
                       @RequestParam(required = false) String j
    ){


        System.out.println(dit);
        System.out.println(code);
        System.out.println(pid);
        System.out.println(aid);
        System.out.println(t);
        System.out.println(m);
        System.out.println(r);
        System.out.println(j);






        return "redirect";
    }
}
